package linguo.level.mapObjects;

import java.awt.Graphics;

import linguo.level.Board;
import linguo.player.Bullet;
import linguo.player.Robot;

public abstract class ObjetoNoDestruible extends MapObject{
	
	public ObjetoNoDestruible(Board board, int x, int y, CasilleroTransitable casillero) {
		super(board, x, y, casillero);
		
	}
	
	public void render(Graphics g) {
		super.render(g);
	}


	public boolean isSolid() {
		return existe ? true : false;
	}
	
	public void transitar(Robot robot) {
	}

	public void atacar(Bullet bullet) {
			bullet.destruir();
	}
		

}



